package com.perfma.xtest.tool;

import org.apache.commons.io.FilenameUtils;
import org.apache.commons.lang3.StringUtils;

import java.io.File;

/**
 * @author: junhui.si
 * @date: 2024-04-12 16:11
 **/
public class CsvRead {
    public static void main(String[] args) {
        String fileName = "\\login.csv";
        fileName = StringUtils.isEmpty(fileName) ? fileName : StringUtils.substringAfterLast(fileName, "/");
//        fileName =  FilenameUtils.getName(fileName);;
        System.out.println(fileName);
    }
}
